class Date{
   public int year;
   public int month;
   public int day;

   public void setDate(Date this,int year,int month,int day){
       this.year=year;
       this.month=month;
       this.day=day;
   }
   public void printDate(Date this){
       System.out.println(this.year+"年"+this.month+"月"+this.day+"日");
       this.text();
   }

   public void text(){
       System.out.println("测试this...");
   }

   public Date(){
       this(2018,8,8);
   }
   public Date(int year,int month,int day){
       this.year=year;
       this.month=month;
       this.day=day;
   }
}


public class Text1 {
    public static void main(String[] args) {
//       Date date=new Date();
//       date.setDate(2018,8,8);
//       date.printDate();
//
//       Date date1=new Date();
//       date1.setDate(2019,8,8);
//       date1.printDate();
//
//       Date date2=new Date();
//       date2.setDate(2020,8,8);
//       date2.printDate();
//
//       Text1 text1=new Text1();
//       text1.hJ();

        Date date=new Date(2018,8,8);
        System.out.println(date.year+" "+date.month+" "+date.day);

        Date date1=new Date();
        System.out.println(date.year+" "+date.month+" "+date.day);
    }
//    public void hJ(){
//        System.out.println("Nims");
//    }
}
